golang/xenlight: add error return type to Context.Cpupoolinfo
authorNick Rosbrook <rosbrookn@gmail.com>
Mon, 23 Dec 2019 15:17:07 +0000 (10:17 -0500)
committerGeorge Dunlap <george.dunlap@citrix.com>
Tue, 24 Dec 2019 09:52:12 +0000 (09:52 +0000)
commit7aac825058ee6c8f3179d7114af9263d047800b6
tree01463f820aded9dfadade5b54f0dc14cac28d92d
parentb35567eeb87fac96bca63a3513af09d81382777f
golang/xenlight: add error return type to Context.Cpupoolinfo

A previous commit that removed Context.CheckOpen revealed
an ineffectual assignent to err in Context.Cpupoolinfo, as
there is no error return type.

Since it appears that the intent is to return an error here,
add an error return value to the function signature.

Signed-off-by: Nick Rosbrook <rosbrookn@ainfosec.com>
Reviewed-by: George Dunlap <george.dunlap@citrix.com>
tools/golang/xenlight/xenlight.go